<%--
  Created by IntelliJ IDEA.
  User: wangf
  Date: 2017/9/18
  Time: 16:17
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<html>
<head>
    <title>Title</title>

    <base href="<%=basePath %>">
</head>
<body>
<form method="post" action="/test/login.do">

    username<input type="text" name="username" id="username">
    <br>
    password<input type="password" name="password" id="password">
    <button type="submit">submit</button>

</form>
</body>
</html>
